﻿Imports DTO
Imports DAO

Public Class ChiTietHDBUS
    Public Sub Them(ByVal cthdDTO As ChiTietHDDTO)
        Dim cthdDAO As New ChiTietHDDAO
        cthdDAO.Them(cthdDTO)
    End Sub

    Public Function TimKiem(ByVal cthdDTO As ChiTietHDDTO) As IQueryable(Of ChiTietHD)
        Dim cthdDAO As New ChiTietHDDAO
        Return cthdDAO.TimKiem(cthdDTO)
    End Function

    Public Sub CapNhat(ByVal cthdDTO As ChiTietHDDTO)
        Dim cthdDAO As New ChiTietHDDAO
        cthdDAO.CapNhat(cthdDTO)
    End Sub
End Class
